<template>
   <div>
       <div class="crumbs">
            <el-breadcrumb separator="/">
                <el-breadcrumb-item><i class="el-icon-lx-text"></i> {{title}}</el-breadcrumb-item>
            </el-breadcrumb>
        </div>
        <el-row :gutter="20">
            <el-col>
                <el-card shadow="hover" class="mgb20" style="height:252px;">
                    <div class="user-info">                    
                    </div>
                    <div class="user-info-list">上次登录时间：<span>{{adminLastLoginAt | moment}}</span></div>
                </el-card>
            </el-col>
        </el-row>
    </div>
</template>
<script>
export default {
    data(){
        return{
            title: this.$route.meta.title,
            name:window.localStorage.getItem('name'),
            activePath:"",
            adminName:localStorage.getItem('adminName'),
            adminLastLoginAt:localStorage.getItem('adminLastLoginAt'),
        }
    }
}
</script>

<style scoped>

.user-info {
        display: flex;
        align-items: center;
        padding-bottom: 20px;
        border-bottom: 2px solid #ccc;
        margin-bottom: 20px;
    }
.user-info-list span {
        margin-left: 70px;
    }
    .mgb20 {
        margin-bottom: 20px;
    }
  
  .crumbs{
      margin: 10px;
}
</style>